package cn.wen.yaling.xo.service;

import cn.wen.yaling.commons.entity.BlackListEntity;
import cn.wen.yaling.commons.entity.SysParamsEntity;
import cn.wen.yaling.commons.utils.PageUtils;
import cn.wen.yaling.commons.utils.ResultEntity;
import cn.wen.yaling.commons.vo.SysParamsAddVO;
import cn.wen.yaling.commons.vo.SysParamsUpdateVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author FY
 * @email 932043654@qq.com
 * @date 2022-08-13 02:07:36
 */
public interface SysParamsService extends IService<SysParamsEntity> {

    /**
     * 获取系统配置信息列表
     * @return
     */
    ResultEntity getParamsList();

    /**
     * 查询参数列表
     * @param paramsName
     * @param paramsValue
     * @return
     */
    ResultEntity searchParams(String paramsName, String paramsValue);

    /**
     * 添加系统参数配置
     * @param sysParamsVO
     * @return
     */
    ResultEntity addSysParams(SysParamsAddVO sysParamsVO);

    /**
     * 编辑参数配置信息
     * @param sysParamsVO
     * @return
     */
    ResultEntity editSysParams(SysParamsUpdateVO sysParamsVO);

    /**
     * 批量删除系统参数配置
     * @param sysParamsIds
     * @return
     */
    ResultEntity deleteBatchSysParams(List<Integer> sysParamsIds);
}

